<template>
  <div class="home">
    <header>
      <nav>
        <router-link to="/location">Location</router-link>
        <router-link to="/foods">Foods</router-link>
        <router-link to="/orders">Orders</router-link>
      </nav>
    </header>
    <div class="main">
      <router-view></router-view>
    </div>
  </div>
</template>

<script lang="ts" setup>
</script>


<style scoped>
.home {
  width: 500px;
  margin: 0 auto;
  background-color: white;
  min-height: 100vh;
  position: relative;
}
header {
  padding: 10px;
  box-shadow: 0 0 5px #ccc;
}
.home a {
  padding: 0 10px;
  transition: all 0.3s;
}
.router-link-active {
  position: relative;
}
.router-link-active {
  border-bottom: #ffd103 solid 2px;
  color: #ffd103;
}
</style>
